package com.tengju.bff.interfaces.covercharge.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 *@author liang_shi
 *@date 2020/7/27 21:54
 *@description 
 */
@Data
@ApiModel(value = "签署合同查询")
public class SignContractQuery implements Serializable {

    @ApiModelProperty(value = "用户id：idCode-200000", required = true)
    @NotBlank(message = "用户id不能为空")
    private Long userId;

    @ApiModelProperty(value = "平台编号：ABM/DT")
    @Pattern(regexp = "ABM|DT",message = "平台编号格式不正确")
    private String platformCode;

    @ApiModelProperty(value = "用户类型 1-自认证企业 2-自认证个体工商户 3-乐税个体工商户")
    private Integer userFrom;

    @ApiModelProperty(value = "合同签署状态 1、签署中 2、签署成功 3、锁定合同失败 4、签署合同取消 5、合同过期 9、未知")
    private String status;

}
